package com.open.capacity.study.dao;

import com.open.capacity.common.model.LearnProcess;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface LearnProcessDao {
    int insert(LearnProcess learnProcess);

    int update (LearnProcess learnProcess);

    List<LearnProcess> findList (Map<String, Object> params);

    List<LearnProcess> countPeople();

    void graduate (String userid);

    List<LearnProcess> avgDays ();

    List<LearnProcess> passNum ();

    int count (Map<String, Object> params);

}
